]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
layout: Use translation_y for panel animation
authorJasper St. Pierre <jstpierre@mecheye.net>
Mon, 3 Dec 2012 20:45:27 +0000 (15:45 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 3 Dec 2012 21:06:34 +0000 (16:06 -0500)
The anchor point is deprecated.

https://bugzilla.gnome.org/show_bug.cgi?id=689537

js/ui/layout.js

index a84a9b02fe0341f13908dd41f01b0461b2df8e2d..3a20f923cbc7451f4aa79d72b2e5dba2fbde7c98 100644 (file)
@@ -342,7 +342,7 @@ const LayoutManager = new Lang.Class({
     },
 
     _startupAnimation: function() {
-        this.panelBox.anchor_y = this.panelBox.height;
+        this.panelBox.translation_y = -this.panelBox.height;
 
         let plymouthTransitionRunning = false;
 
@@ -378,7 +378,7 @@ const LayoutManager = new Lang.Class({
         }
 
         Tweener.addTween(this.panelBox,
-                         { anchor_y: 0,
+                         { translation_y: 0,
                            time: STARTUP_ANIMATION_TIME,
                            transition: 'easeOutQuad',
                            onComplete: this._startupAnimationComplete,